package com.yx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yx.entity.Address;
import com.yx.mapper.AddressMapper;
import com.yx.service.IAddressService;
import org.springframework.stereotype.Service;

/**
 * @Classname AddressServiceImpl
 * @Date 2021/07/19 21:47
 * @Author by yx
 * @Description TODO:
 */
@Service("addressService")
public class AddressServiceImpl extends ServiceImpl<AddressMapper, Address> implements IAddressService {

    @Override
    public boolean save(Address address) {
        baseMapper.insertAddress(address);
        return true;
    }
}
